from  Typelab.settings import BASE_DIR

FAVER_DIR = "/Data/Faver"
PUBLIC_DIR = "/Data/Group/public/home"
ADMIN_DIR = "/Data/User/admin"
DEMO_DIR = "/Data/User/demo"
GUEST_DIR = "/Data/User/guest"

#diynamoc config
ROLE = "admin"
#groupID
groupID = 1
#generate

TEMP_DIR = BASE_DIR+'/'+'temp'


USERFAVER = FAVER_DIR+"/"+ROLE
from Utils.utils import Controller
def getFavList():
    bp = Controller.get_database_dir()
    if bp is None:
        return []
    return []
def getPublicPath():
    bp = Controller.get_database_dir()
    if bp is None:
        return []
    return bp+'/Public'
def getUuerPath():
    bp = Controller.get_database_dir()
    if bp is None:
        return []
    return bp + '/User'

VIR_DIR = {
    "groupPath":getPublicPath()
    ,'User':getUuerPath()
}

#international
